module.exports = {
  productionSourceMap: false,
  filenameHashing: true,
  publicPath: process.env.NODE_ENV === 'production'
    ? '/static/cms/'
    : '/',
    chainWebpack: config => {
      config.output.filename('js/[name].[hash].js').end()}
} 
